package com.ws.dn.mapper.user.param;

import com.ws.rain.base.param.IdParam;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;


@Data
@NoArgsConstructor
@ApiModel("用户个人信息修改")
public class UpdateUserInfo extends IdParam {

    public UpdateUserInfo(long id, String realName, String gender, String phone, String selfNum) {
        super.setId(id);
        this.realName = realName;
        this.gender = gender;
        this.phone = phone;
        this.selfNum = selfNum;
    }

    @ApiModelProperty(value="真实姓名")
    private String realName;

    @ApiModelProperty(value="性别")
    private String gender;

    @ApiModelProperty(value="手机号")
    private String phone;

    @ApiModelProperty(value="身份证")
    private String selfNum;
}
